
macro( require_boost_headers )
	add_definitions(-DBOOST_ALL_NO_LIB)
	include_directories( ${CMAKE_SOURCE_DIR}/3rdPart-Modify/boost/boost_1_43_0 )
endmacro( require_boost_headers )

macro( require_tinyxml_headers )
	add_definitions(-DTIXML_USE_STL)
	include_directories( ${CMAKE_SOURCE_DIR}/3rdPart-Modify/tinyxml )
endmacro( require_tinyxml_headers )

macro( require_crypto_headers )
	add_definitions(-DBOTAN_DLL=)
	include_directories( ${CMAKE_SOURCE_DIR}/3rdPart-Modify/Crypto )
endmacro( require_crypto_headers )

macro( require_lua_headers )
	include_directories( ${CMAKE_SOURCE_DIR}/3rdPart-Modify/lua/include )
endmacro( require_lua_headers )

if( WIN32)
macro( require_wxWidgets_headers )
	add_definitions(-DWIN32 -D_LIB -D__WXMSW__ -D_UNICODE)
	set(wxRoot ${CMAKE_SOURCE_DIR}/3rdPart/wxWidgets/wxWidgets-2.9.0 )
	include_directories( ${wxRoot}/include )
	include_directories( ${wxRoot}/include/msvc )
	include_directories( ${wxRoot}/lib/vc_lib )
endmacro( require_wxWidgets_headers )

macro( require_wxWidgets_libs )
	set(wxRoot ${CMAKE_SOURCE_DIR}/3rdPart/wxWidgets/wxWidgets-2.9.0 )
	link_directories( ${wxRoot}/lib/vc_lib )
endmacro( require_wxWidgets_libs )

else( WIN32)

macro( require_wxWidgets_headers )
	add_definitions( -D_FILE_OFFSET_BITS=64 -D__WXGTK__ )
	include_directories( /opt/wx-widgets/lib/wx/include/gtk2-unicode-release-static-2.9 )
	include_directories( /opt/wx-widgets/include/wx-2.9 )
endmacro( require_wxWidgets_headers )

macro( require_wxWidgets_libs )
	link_directories( /opt/wx-widgets/lib )
endmacro( require_wxWidgets_libs )

endif( WIN32)



macro( require_lzma_headers )
	include_directories( ${CMAKE_SOURCE_DIR}/3rdPart-Modify/lzma/lzma-modify/C )
endmacro( require_lzma_headers )


if( WIN32)
else( WIN32)
	SET(CMAKE_CXX_FLAGS -std=c++0x )
endif( WIN32)
